package com.smartthinking.CICPNL.home.activity;

import java.util.Dictionary;

import android.app.Activity;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.TextView;

import com.smartthinking.CICPNL.R;
import com.smartthinking.CICPNL.R.id;
import com.smartthinking.CICPNL.home.objects.clsDictionary;

public class SalonesDetalle extends Activity {

	private Dictionary dic;
	private Intent intent;
	public void onConfigurationChanged(Configuration newConfig) {
		super.onConfigurationChanged(newConfig);

		// Checks the orientation of the screen
		 
	}
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.ui_salones_detalle);

		dic = clsDictionary.getDctionary();

		TextView titulo = (TextView) findViewById(id.tv_listView_Titulo);

		titulo.setText(dic.get("cint_salon").toString());

		TextView titulo2 = (TextView) findViewById(id.tv_salonesdetalle_titulo);
		titulo2.setText(dic.get("cint_salon").toString());

		TextView Area = (TextView) findViewById(id.tv_salonesdetalle_areatotal);
		Area.setText(dic.get("cint_area").toString());

		TextView Ancho = (TextView) findViewById(id.tv_salonesdetalle_ancho);
		Ancho.setText(dic.get("cint_ancho").toString());

		TextView Largo = (TextView) findViewById(id.tv_salonesdetalle_largo);
		Largo.setText(dic.get("cint_largo").toString());

		TextView Altura = (TextView) findViewById(id.tv_salonesdetalle_altura);
		Altura.setText(dic.get("cint_altura").toString());

	}

	public void voidFinish(View V) {
		finish();

	}

	public void abrirMenuLateral(View V) {
		intent = new Intent(SalonesDetalle.this, MenuLateral.class);

		startActivity(intent);
	}

	@Override
	public void onBackPressed() {
	}

}
